<?php


namespace App\Http\Controllers\Admin;

use Illuminate\Contracts\View\Factory;
use Illuminate\Http\Request;
use Illuminate\View\View;

/**
 * 工作台
 * Class WorkbenchController
 * @package App\Http\Controllers\Admin
 */
class WorkbenchController extends BaseController
{
    function __construct()
    {
        $this->set("workbench", 'workbench');
    }

    /**
     * 首页
     * @param Request $request
     * @return Factory|View
     */
    function index(Request $request)
    {
        return $this->view('index');
    }
}
